Update package_max_length and buffer_input_size