working on updating primitives