updating the pins