update conf file