updating error appearance