udpate second trial of unique-paths