add plumbing for set_update_fetchhead() and update_fetchhead() on remotes