update readme and pass operator to valueIsAllowed