update troops in java client
Minor fixes. Added troop tracking