Replaced local database to Cloud