Updated with wtf forms module and forms class
Update database