update "selector" to "target"