added Delete and Editting of contracts