Updating console sample