added generic update command