# Script to Update Display UPC for release
This script will update the display UPC in art_relations.releases for the provided release.

### Installation
```
python3 -m venv env
```
```
source env/bin/activate
```
```
pip install -r requirements.txt
```
```
cp .env.shadow .env
```

### Running the script
run the script by running following command providing the release_id, existing display_upc and new display_upc as given below:
```
python update_display_upc.py 4567277 0013189303312 013189303312
```

### Steps for execution
1. Rename the .env.shadow to .env
2. Update the art_relations database credentials in .env file
3. Update these to the appropriate values, copy the file to .env, and then run `source .env`
4. Run the script python update_display_upc.py <release_id> <existing_display_upc> <new_display_upc>
