Updating eg code

"keypath" should be "keyPath" ... spent a couple of hours wondering why my example wasn't working ;)  (on Chrome)