update viewHelper add confirm alert