reupdated recording to save when viewer leaves page