Update patch for localize_fields