def update
    authorize @group, :edit?
    respond_to do |format|
      if @group.update(group_params)
        format.html do