reference sections now tracked properly
added upgrade to 0.5.2
upgrade spans multiple generations properly
minor fixes to pass tests