modify references