changed structure of database