Update main Form class