updating primitives