Get rid of duplicate code for updating UI elements with new relationship and particiapnt property values