fixed https issue. I also fixed the example page not showing issue and I fixed the buttons not being updated issue