updates with visit counter