field code update

fieldcode refactor