update sword .conf file