update gallery list and edit views
update media list and edit views