Update APIConnection.java