Current databse is deleted when synced