update of html and js