update example, check for @QueryParam for payload check