Maintain modified flag of time_map - only write when modified == true / Merged into version-1.0