Bug fix in the update command.