updating HTML with config