Update requirements and add requirement upgrade script.