re-written update-pub.  Needs Tests