how to insert update delete in c