Update the code to work with the latest version of ADSync4J.