fix demo site to use new callback and validate option