should replace personnalized token with new index in added elements