Updated Lifecycle to do javascript style chaining