updating relations, fixing sub-views and re-rendering