Update returnPaths