Apple and Amazon update security following hack