private String shortenUpdateLabel(String update){
  return "u" + Integer.parseInt(update.substring(6));
}

private String shortenUpdateLabel ( String update ) { return "u" + Integer . parseInt ( update . substring ( 6 ) ) ; }
translate update01 to u1 , update2 to u2 .
