change pages ierarchy