Updating images and adding a thumbnail