update history and version number