make sure last rotated ledger is updated after rotation