upload and download pins