updading config