update form field generator and user role