Semi-working version of remote-update