Change depricated bind to submit

In example depricated bind method is used. Better change to submit.