change form data structure