How to update patient relationships