gallery flags updated