Update and bug fixes for Moodle 2.5