how to edit a warning message