remove unused html and update