updated API to be able to Create custom fields