added test for update method going to remote host