Update requirements and remove unnecessary files.