Update uniquePaths2