FIX: Update only passed custom fields (PR #14357)

It used to replace custom fields instead of updating only the custom fields that were passed. The changes to custom fields will also be logged.

GitHub