record the last version