updated contents map to new format