Update a type