fix alias method
Merge pull request #119 from tomoima525/fix_alias

Use `newId` parameter in `alias` method