Update for Moodle 2.7