altering document.raw max length to be used in mysql db