Updated sql inserts from crawler resolving some errors