delete from a database now works