updating pin

fixing res