update and publish version