update gallery style