Update Selector.java