updated append example