update related posts, test fix bugs