refactor vendor config