add tables to database