Wrote 'apply' and 'updated' sections