How do I update the date which is displayed in the warning message?