edit contracts