Save/restore configuration when upgrading package