* some changes in the database wrapper API