(TA-883) - added new method to replace the value of document object