updating links to images