[REST]Changed business logic for Add/update of  a group/family leader