Update query_processor

get the characters one by one