Update the path example to reflect changes in the Path API