update setProxy() and unsetProxy()