update wrapper id generation