update,add supervisor,need to be tested