using generic update command