update date-handling