working on save/delete using prepare statement