final updates to ml in python