updated deleteFrom and Datum