alerts on edit