Update Edit History and Code History.