Update mode for aws key