record string changes