Update template for posts