update capture script