add ries patch
edit ries config