change database's structure