Update to credentials code.