Add outdated check and record version