add init() function in store to initialize a key-value if not set.