update elementSelector