updates python classes script