implemented raw config-write