update remoteworker.py