update global object destruct