Change put to take params[:rabbit]