updates types