updated quiz management