updated the provided query for blogs