id = 1; $credentials->keystring = $keystring; $credentials->shared_secret = $sharedSecret; $credentials->save(); } } } }