update the url of the img