Update clear and alert