updated sequences after optimization