updating pen