Case document, Amendment of pleadings