Update java/php docs.