Update edit_group to check if user owns group during editing.