update the path