update client to use new crypto