update configs file