Update dist and test params