updated news db query

updated news db query  using CI style