Implement an update logic algorithm that determines whether a system component needs to be upgraded based on version strings.