update the version of the pub.