set state params