update

use Exception class instead of its object