changed upload a pin to create a pin