added functionilities for editing vendors...