updated source type in RESTful class