sync with remote db