update types.