friends_connections which holds the many2many relationships, i.e ID -> ID.rpc("update_contacts", jsonObj) but I'm not sure what I would put in the function? I think I could do it by literally updating each part one by one and perhaps pass the friends as another argument rather than as a child, but I feel there is an atomic way I should be doing this where PSQL is clever enough to rollback the whole thing if something fails. A link of simple example of updating the customer and the relations to friends using the friends_connections table would be really helpful. Thank you!