add self-upgrade command