update the timestamp when data is cleared