update url with image tag