updated the blog loop and  sql