change db strcuture