update deprecation warnings from 0.4 release for 0.5