Update html function color