added pin migration