update html and settings