refactor: fixed updatebox bug, add isHandleCreated condition