change the database design