updating relations on views