update gallery by property