Update primitives.