updated lecture notes