Update credentials.