update gallery grid shortcode