fix total links bug
moved the query in updating indexed links after checking content body