date now updates correctly