Refactoring decrement/reset/update into single action