Update html and view