Updated the validate demo