update database config and test remote update