udpate chai amd
include autotype