added insert, update and delete to content provider