Updating page depth