update other name query for advance search