cms documents save or update fix