How to automatically delete submission data?