that looks strange for me. Usual work-flow is return migrated list<map> and then assign it. Why you need reference there?