Write log and update module versions