Correct definition of newmodule_grade_item_update() function

Are you accepting pull requests for this repository? Or do you want me to go for the tracker?