update html without preview