store and sync