Deprecated Service method calls replaced with new ones

- to fix the build