update mysql query to only show 3 posts on homepage