modify the db to remote