Updating SDK and java examples