update last of the images