add CAS operation to redis store