Update manager class to address problem encountered by tester regarding NullPointerException