implemented delete and update methods of content provider