updating config file