fixed update command bug