Gh372 configure remote

should i delete the entire code used for refresh? and also the parameter sent to the method from client to server to know if the node should be refreshed?