updated pathname