Update to pull posts via ajax