Updates the gallery image