Update how dates works