updates for saving