added delete and bulk inser