store config in mnesia