ensure context is saved vs updated