modify pins controller