Added upgrade command