changing relationship between entities