set pathname to pin