update template for new post