Update restConnector.java