Upgrade to 2.6 moodle api