Change the class memeber auto suggest  based on query ends with