Saves the managed context immediately after updating