feature update: db struct.