updated up_pin