Added DB Code for brands and vendors (update/insert)