Made variable "updatedDescriptor" in update command consistent.