change corresponding proc name in java