Fixed date not updating bug