def update
    respond_to do |format|
      if @container_item.update(container_item_params)
        format.html {redirect_back(fallback_location: (request.referer || root_path), notice: 'Container item was successfully created.')}
        format.json { render json: @container_item, status: :ok, location: @container_item }