Replaced stub for updating gallery attributes via put request