Update listener matching

Optional parameters are not defined in the route but in the function as default values