endless loop when updating configs form server