Serverless-kubeless example yield error upon deploying

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              16.4.1
     Framework Version:         2.52.0 (local)
     Plugin Version:            5.4.3
     SDK Version:               4.2.5
     Components Version:        3.13.4

I am following the instructions by creating following serverless.yaml:

service: users
frameworkVersion: ^2.52.0

  name: kubeless
  runtime: nodejs14
  timeout: 360

functions: # Your "Functions"
    handler: hello.hello # The code to call as a response to the event
    events: # The "Events" that trigger this function
      - http:
          path: /hello

when I run serverless deploy I got following errors:

Error: Event type path is not supported
Error: Unable to deploy the function usersCreate. Received:
    Code: 422
    Message: "usersCreate" is invalid: Invalid value: "usersCreate": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. '', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Could it be the webpage is out of date? Or am I missing some important details?

Many thanks in advance