update dbstructure.