Updated "updateState" java doc