update makefiles
update thinking bridge files