updates to save cert