changed error to exits in updateAccount