updated pin params in pins controller file