update timestamp and version