groups controller edit and delete