updating webpage ui and layout.