update quiz dynamically with save button