update image loading