update selector parser