How to edit a field on a form through API calls