updated to latest DynamoDB API