added decrement sync functionality