modify service structure