Ajax on Update resource