updated the counter putput