changed deprecated or unavailable methods
Merge pull request #153 from yuchan/fix-migration

changed deprecated or unavailable methods