update for newest rust changes