added code for refreshing video data