The government promised to digitise the "shockingly outdated" paper-based system after prisoners were released in error.