updates images and data