modify the id reference