Product json api tr30

Update with JSON works, need to refine it and create several APIs for updating visitors.