update path & str