anchor.diff:              State1 = State#base_state{log_msg = ignore_update_for_duplicate},
               {true, chef_rest_util:set_json_body(Req, ObjectEjson), State1};
           false ->
  -            UpdateFun = chef_object:update_fun(ObjectRec),
  +            UpdateFun = chef_db:update_fun(ObjectRec),
               case chef_db:UpdateFun(DbContext, ObjectRec, ActorId) of
                   ok ->
                       {true, chef_rest_util:set_json_body(Req, ObjectEjson), State};
  
positive.code: conflict_message(data_bag, _Name) ->
      %% {[{<<"error">>, [<<"Data Bag '", Name/binary, "' already exists">>]}]}.
      {[{<<"error">>, [<<"Data bag already exists">>]}]}.
  
  verify_request_message({not_found, org}, _User, Org) ->
      Msg = iolist_to_binary([<<"organization '">>, Org, <<"' does not exist.">>]),
  
negative.code:     %% Send object to solr for indexing *first*. If the update fails, we will have sent
      %% incorrect data, but that should get corrected when the client retries. This is a
      %% compromise.
      ok = chef_object_db:add_to_solr(chef_object:type_name(ObjectRec),
                                   chef_object:id(ObjectRec),
                                   OrgId,
                                   chef_object:ejson_for_indexing(ObjectRec, ObjectEjson)),
  