Update spec based on collected data.