Updated Sample Code

Updated The Ambience Library to reflect the latest changes.