@answer_sheet.update_attributes start_time: Time.now, end_time: (@answer_sheet.start_time+60*@answer_sheet.exam.duration)