updated saved state