setting up edit function for vendor information