# \[20160922164843\] Lifecycle Handler and General Enhancements

**URL:** <https://community.convox.com/t/20160922164843-lifecycle-handler-and-general-enhancements/332>\
**Category:** Releases\
**Created:** [September 22, 2016, 4:48pm UTC](https://community.convox.com/t/20160922164843-lifecycle-handler-and-general-enhancements/332 "2016-09-22T16:48:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddollar](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/ddollar/32/3_2.png) [@ddollar](https://community.convox.com/u/ddollar)\
**Post date:** [September 22, 2016, 4:48pm UTC](https://community.convox.com/t/20160922164843-lifecycle-handler-and-general-enhancements/332/1 "2016-09-22T16:48:36Z")

</div>

The instance lifecycle handler has been updated to handle instance terminations more gracefully. Instances terminating in an AutoScalingGroup will now gracefully remove that instance from all load balancers, removes the instance from the ECS cluster, and waits for connections to the instance to drain before allowing the instance to terminate.

## Enhancements

- [#1239](https://github.com/convox/rack/pull/1239) Make instance lifecycle handler smarter [[@ddollar](https://github.com/ddollar)]
- [#1242](https://github.com/convox/rack/pull/1242) Correctly use existing values during stack updates [[@ddollar](https://github.com/ddollar)]
- [#1243](https://github.com/convox/rack/pull/1243) Use filesystem events wrapper to find changes rather than polling [[@ddollar](https://github.com/ddollar)]
- [#1245](https://github.com/convox/rack/pull/1245) add --wait to rack update [[@ddollar](https://github.com/ddollar)]
