update mu w and tau