refresh config when config file changed