How do you manage API versioning and backward compatibility when upgrading legacy enterprise systems?