Update functional programming section and update the notes