update the path manger