Synchronise for database changes. Removed unnecessary primary index values