update server credentials