Configure: added new option --upgrade