Update TaskManager.java