Update to latest Rust. Fixed a bug on control flow of creating keys