modified update command