Update counter also on pageload