reset db
fix brand bug and add barcode type