def params changed