key storage method change 1

added some method to keystorage