update int for primitive type