Updating key file with more information