Update Media Galleries ref to include delete