From its embassy buildings to how it conducts diplomacy, the State Department has been on a modernization drive.