I am using following code to atomically update DynamoDB update_counter field value by one. But it always set update_counter to 1.
Any hint to overcome this problem wi