updated flask-wtf syntax