update path handling