Little change of update function. (Mobile_HTML5)