fixes for 5.5 upgrade: new methods to update version in file and database. code cleanup and branding