Added update handler