added the possiblity of just setting a deletedFlag at deleting

instead of deleting the row