update query table attribute setter for dynamodb