update cryptocurrency functions