Update Problem3_code