Update form and when to use variabls