update readme docs with the new onSelect event