quiz details automatically updates when blur event is trigger on the input fields