I think you need to change the values in the library. If you change the size while the program is running there is a great risk that you will corrupt the memory for the whole project.
Why do you think it would be advantageous to change the value? If you use the technique in Serial Input Basics you can receive as much data as you wish without changing the buffer size.
...R