updating code to the latest rust version