Added upgrade as a command