Update pins controller to remove unnecessary stuff