Update for Moodle 2.4