(From v.5.1.x)
Back it up. Just in case, you might want to make a backup of the following configuration files:
Get the files. Extract all files to a temporary location on your hard drive. Some files should extract into subfolders called 'admin' and 'English'.
Admin files. Copy all files in the admin folder to the admin folder on your web site (overwrite files with same names).
Display messages. Copy the files in the English folder to the English folder on your web site (overwrite files with same names). NOTES: If you support other languages, you will want to get updated versions of those files as well. If you have changed or added messages in your existing language files, you may want to copy those messages to the corresponding new language files.
Database structure changes. In your browser run the script "admin/dbupdate500-51x.php", which should now be in your admin folder. For example, I would run http://www.lythgoes.net/genealogy/admin/dbupdate500-51x.php. Alternately, you can copy this readme file to your site, load this file from there in your browser, then click this link: dbupdate500-51x.php. This will open a new window and make a few database structure changes. Your data should not be affected. You will see a short list of messages detailing what is being done, as well as a message when the script has finished. The version number mentioned in the "finished" message indicates the last time the database structure changed, so the number may not match the number on the update you are now installing. When this step is complete, I recommend you delete the dbupdate*.php files from your server.
Public files. Copy all files in the temporary location to the main TNG folder on your web site (overwrite files with same names). IMPORTANT: This update should not contain a copy of index.php, genstyle.css, tngtabs1.css tngtabs2.css, config.php, pedconfig.php, importconfig.php or logconfig.php. Make sure you do not copy any of those files to your TNG folder or you will lose your settings or your home page!
The update should be complete.