update aws creds copy with hook