watch record file and update