Updated events for Moodle 2.7+