update remote rule