Update the custom field formatting on add and edit pages