update config to remote database