modify pin param for :document download