# Updating an artists address on KO ### Other useful links - [Adding new artist](https://hackmd.io/3t4RJxMGRu2ZwV5pEkMaFw) - [Access Controls Contract](https://etherscan.io/address/0xec133df5d806a9069aee513b8be01eeee2f03ff0#writeContract) - [Firestore DB](https://console.firebase.google.com/u/0/project/known-origin-io/firestore) ### Steps #### Artist has artwork on KO - YES 1) Update all editions - `updateArtistsAccount()` on KO core contract 2) Update self service access - disable old and add new - `setAllowedArtist()` 3) Update subgraph `getArtistAddress()` lookup method 4) Update DB - addressses are always lowercase in the KO DB! 5) trigger `edition/refresh` in the API 6) setup mapping in subgraph and redeploy #### Artist has artwork on KO - NO 1) Update self service access - disable old and add new - `setAllowedArtist()` 2) Enabled new address on access controls 3) Set old `isArtist=False` flag in the DB to false 4) Set new `isArtist=True` flag in the DB to true ## Updating auction controller * Update `setArtistsControlAddress()` on here https://etherscan.io/address/0x848b0ea643e5a352d78e2c0c12a2dd8c96fec639#writeContract #### Firebase toggles * collection = `user-profile` * artist flag = `isArtist` (setting to true shows a few extra buttons on the app) * based to search by `slug` or `address` to find people ### Useful API link * get editions for address - https://us-central1-known-origin-io.cloudfunctions.net/main/api/network/1/edition/artist/0xfe5b7200b2b63be7dc7281e7b4ae9955e34d986c * can mint check - https://us-central1-known-origin-io.cloudfunctions.net/main/api/network/1/selfservice/0x44c5E5bA251206cFB378dE443e70C4959562206d/canmint