Updated python interface. Not yet implemented on Java side.
added code to update the workers set