added code to Update score of required exercises.