update views with relation