updates generating and checking submitted answers