update method in PrimBox implemented