add deprecation info to life cycle