update Demo project
update validate to call delegate's method