update function after test mplayer