Updated pins and code