update config via stdin better