change the path context