Updating page var