updating image and link