edit group method not working