refactor store.go add set function