change counter tabke