Handle update command