update id generation for test