update requires with JSON