update with json action