Made the link with the ajax for changing an object.