Update html5 engine