update related posts template