sample criteria allows adding, updating, resetting and removing locally of data