Fix to update the referenced content, not only reference catalog.

I'm not sure if my fix covers all use-cases but it should improve functionality of the product. Right now references created with BackReference field are not visible on editing referenced content so when it is edited the relation is lost.