Update the extract audio function