implementing edit group