anchor.diff:      ReplaceHit;
   replace_add(FileName,
               #lfuda{age = Age}, ReplaceHit) ->
  -    PriorityKey = Age,
  -    cloudi_x_trie:store(FileName, {PriorityKey, 0}, ReplaceHit).
  +    cloudi_x_trie:update(FileName, fun(Value) ->
  +        Value
  +    end, {Age, 0}, ReplaceHit).
   
   replace_remove(_, undefined, ReplaceHit) ->
       ReplaceHit;
  
positive.code:                                   "excluded due to ~w kB files_size",
                                    [FilePath, ContentsSize div 1024,
                                     FilesSizeLimit div 1024]),
                          {ReplaceHit1, Replace1, FilesSize1, Files1};
                      {error, _} ->
                          % file was removed during traversal
                          {Replace2,
                           ReplaceHit2} = replace_remove(FileName,
                                                         Replace1,
                                                         ReplaceHit1),
                          {ReplaceHit2, Replace2, FilesSize1,
                           file_remove_read(FileName, Files1,
                                            UseHttpGetSuffix, Prefix,
                                            Dispatcher)}
                  end
          end
      end,
  
negative.code:         case file_exists(FileName, Files1, UseHttpGetSuffix, Prefix) of
              {ok, #file{size = ContentsSizeOld,
                         write = []}} ->
                  % file was removed
                  {Replace2,
                   ReplaceHit2} = replace_remove(FileName,
                                                 Replace1,
                                                 ReplaceHit1),
                  {ReplaceHit2, Replace2,
                   FilesSize1 - ContentsSizeOld,
                   file_remove_read(FileName, Files1,
                                    UseHttpGetSuffix, Prefix,
  