update gallery block