invoice notify update

MySQL interface error when objects where trying to cross-operate on the
same variable