- Refactored form updating method