text: const AWS = require('aws-sdk');
  
  AWS.config.update({
      region: 'eu-central-1',
      endpoint: 'http://localhost:8000'
  });
  
  const docClient = new AWS.DynamoDB.DocumentClient();
  
  const table = 'Movies';
  const year = 2015;
  const title = 'The Big New Movie';
  
  // Update the item unconditionally
  
  const params = {
      TableName:table,
      Key:{
          "year": year,
          "title": title
      },
      UpdateExpression: "set info.rating = :r, info.plot=:p, info.actors=:a",
      ExpressionAttributeValues:{
          ":r":5.5,
          ":p":"Everything happens all at once.",
          ":a":["Larry", "Moe", "Curly"]
      },
      ReturnValues: "UPDATED_NEW"
  };
  
  console.log('Updating the item....');
  
  docClient.update(params, (err, data) => {
      if (err) {
          console.error('Unable to update item. Error JSON:', JSON.stringify(err, null, 2));
      } else {
          console.log('UpdateItem succeeded. ', JSON.stringify(data, null, 2));
      }
  });