update depreceted functions
Merge pull request #69 from k-okada/update_deprecated

update depreceted functions