update for MOODLE 2.5