Update html and java