re #fix_5 change structure name
re #fix_5 update the dbentry structure name and refractor code