Adding support for atomic increment/decrement in sql databases