update html5 slides