update change of pins