Why is persistence.lastUpdate() not always working

This will solve the issue,??