update for moodle 2.6