update answers data structure