working on preventing destructive updates