upgrade db when run