update path in the prompt