fix fail when updating a content/dam without target