update gallery view