updates object to include date