Hash update to handle subpages