History file update