Update template for main UI