Update course notes and sample codes.