update command bugfix