updating image and header