update image references