Updated APIs and modified the build.xml