Amplitude update

update deprecated amplitude apis