update key file reader