update solution for Unique paths