Updated phone samples for latest api changes