update types