update python classes for requirements/metrics