updated rate search with prefix code