update unique-paths-ii