Update Problem 3.js