refactored ubuntu_upgrade to take in options_parser object