add update version of problem 8