restful webservice.py update