modify database tables