working on updating path segments