Add version check to the update command