added multiprocessing to controller and update