added agv.update() in thread