added failed data to error when update database
run all resolve when database is ready
fixed som bugs in fulltext search