rebuilt datebase