converted rest calls to use new method