This is the handler for ha-relation-joined, ha-relation-changed, hanode-relation-joined and hanode-relation-changed