template for showing updates dynamically