improvements in saving documents