update generate_pins task