common callback for setting field add