send json to update