Fixed bug with not refreshing proper cells. Fixed bug for wrong numbers of updates.