update to latest rust and fixed examples