added methods to delete and insert agreement lines