update maxlength search_query (BVV-461)