partials, edit/update e json/xml