anchor.diff:  				{ok, NewMSCC1, ResultCode1} ->
   					Container = build_container(MSCC1),
   					NewMSCC3 = build_mscc(NewMSCC1 ++ MSCC3, Container),
  +					ok = insert_ref(SessionId, ServiceRating),
   					diameter_answer(SessionId, NewMSCC3, ResultCode1,
   							OHost, ORealm, RequestType, RequestNum);
   				{error, Reason1} ->
  
positive.code: process_request1(?'3GPP_CC-REQUEST-TYPE_UPDATE_REQUEST' = RequestType,
  		#'3gpp_ro_CCR'{'Multiple-Services-Credit-Control' = MSCC1,
  		'Service-Information' = ServiceInformation,
  		'Service-Context-Id' = SvcContextId} = Request, SessionId,
  		RequestNum, SubscriberIds, OHost, _DHost, ORealm, _DRealm,
  		_IpAddress, _Port, _Class) when length(MSCC1) > 0 ->
  	try
  		Location = get_service_location(ServiceInformation),
  		case post_request_scur(SubscriberIds, SvcContextId,
  				SessionId, MSCC1, Location, interim, a) of
  			{ok, JSON} ->
  				{struct, RatedStruct} = mochijson:decode(JSON),
  				{_, {_, ServiceElements}} = lists:keyfind("serviceRating", 1, RatedStruct),
  				{ServiceRating, ResultCode} = map_service_rating(ServiceElements, SessionId),
  				Container = build_container(MSCC1),
  				NewMSCC = build_mscc(ServiceRating, Container),
  				diameter_answer(SessionId, NewMSCC, ResultCode,
  						OHost, ORealm, RequestType, RequestNum);
  			{error, Reason} ->
  				error_logger:error_report(["Rating Error",
  						{module, ?MODULE}, {error, Reason}]),
  				diameter_error(SessionId,
  						?'DIAMETER_CC_APP_RESULT-CODE_RATING_FAILED',
  						OHost, ORealm, RequestType, RequestNum)
  		end
  	catch
  		_:Reason1 ->
  			error_logger:warning_report(["Unable to process DIAMETER request",
  					{origin_host, OHost}, {origin_realm, ORealm},
  					{request, Request}, {error, Reason1}, {stack, erlang:get_stacktrace()}]),
  			diameter_error(SessionId, ?'DIAMETER_BASE_RESULT-CODE_UNABLE_TO_COMPLY',
  					OHost, ORealm, RequestType, RequestNum)
  	end;
  
negative.code: 		{ok, MSCC3, ResultCode1} ->
  			Container = build_container(MSCC1),
  			NewMSCC3 = build_mscc(MSCC3, Container),
  			diameter_answer(SessionId, NewMSCC3, ResultCode1,
  					OHost, ORealm, RequestType, RequestNum);
  		{error, Reason1} ->
  