implemented insert and delete capability of fetchresultscontroller