Update Java API calls.