update the program & add the Capture Vedio function