added "refresh" callback to update a store after data has changed