Update selector.java