updated database and database setup tool