Update RelatedPosts.class.php