deal with data store upgrade