update path spec