updated prim