update path bug