Ver originalmysqli_query($this->conexion,"update TABLA set nombre= '$xnuevo' where nombre= '$nombre' and ruta= '$ruta'");