add self-update command.