prepare to update moodle