updating local URL to remote