update recording script