Update IdGenerator