Update notes for submitted changes

* Replace metadata joins with another query
Update notes for submitted changes

* Don't join metadata twice in instance_get_all()