updating date value to map