change config rewite