Fix case when updating config instead of creating new