updating the demo dom