change queue of pins