update to relations