update a solution to DecodeWays