Update html and controller