Upgrade platform 2

addressed code review comment in previous pull request and remove deprecated methods when upgrading from 0.88 to 0.90.