update to date object