update method to verify alert