Updating form UI