make poem attr snap_count  on client side wait for a success response on the server side before updating snap_count