update some type things