change struct db and other