In the US, you can change the instructions directly on the UPS website.
For Europe or France deliveries, the Poste doesn't give this option but if they cannot deliver, they usually keep it a few days in the closest post office. Don't hesitate to call them or go there to find your package.