update cert file