update path type