improved save, rm and setData events