Update define_stack