updating counter page