update most typedef usages to using syntax