updated vendor listing create method to update vendor ID before saving