updates page classing