update for new html5 app