Set fields handler