update with formatting and escapes