update config reading