migration: use correct method

refs #1
refs #8