Add state functions to GalleryItems.update endpoint