Update parameter according to tests