Save updated credentials, return credentials