Update lib/remote