Update input_query.erb