Replace update_relation method in groups controller