Modify path from cursor