synchronize method

Synchronizes the database.

 Syntax