add moodle update script