upgrade and sort out references too all of our usual static dependencies