fix(updateAttribute): Escape user name when record history (refs #5001)