update document of readInput