update server certificate