a method and apparatus for updating applications in the database are disclosed . a schema of an original database system is generated and updated while the original database system is online . upon updating the original database system , synonyms are repainted to an original data storage after successful testing of the schema .