update_trial