database setup updated