change several configs in html