added put for fields to RestController