added delete and update

not tested yet