update stack if condition
Merge pull request #2017 from dimagi/careplan-stack

update stack if condition for create frame of update task entry