reduce updates and added extra debugging rows