memory allocated for table handle was not freed in update statement.