Fix exception issue in UpdateManager