updating page stats