update java classes