Updated script to update existing addresses