FIX: update user preferences was failing if custom_fields is blank string