create Form class and update Element class