Updates log and version number