Update Python sample