Dynamic add fields to new resource