Fixed date not updating issue.