updating rewritten challenges' counter