anchor.diff:      end.
   
   
  +
   %% @private
   -spec update(nksip:request(), times(), ob_proc(), gruu_proc()) ->
       ok.
   
   update(Req, Times, ObProc, GruuProc) ->
       #sipmsg{app_id=AppId, to=To, contacts=Contacts} = Req,
  +    {_, _, Default, Now, _LongNow} = Times,
  +    check_several_reg_id(Contacts, Default, false),
       Path = case nksip_sipmsg:header(Req, <<"Path">>, uris) of
           error -> throw({invalid_request, "Invalid Path"});
           Path0 -> Path0
  
positive.code:                 updated = LongNow,
                  expire = Now + Expires, 
                  q = Q,
                  instance_id = InstId,
                  reg_id = RegId,
                  next_tmp_pos = Next+1
  
negative.code:     ],
      RegContacts = update_regcontacts(Contacts, Req, Times, Path, ObProc, GruuProc, 
                                       RegContacts0),
      case RegContacts of
          [] -> 
              case callback(AppId, {del, AOR}) of
  