When i update the stack in cloudformation for task-definition, it deregisters the current active task-definition and there is only one active task-definition at a time.