added updateHandler class