updates dates