Update block for Moodle 2.5