API update command