update vendor

update vendor and core function