Updates python threads