dynamodb database connection update