update gallery spec