updating posts into twig