updated related posts plugin