update gallery module