Syncing a table to a remote database