Moved update block logic to BlockUpdateCommand