change upgrade location to db manager