update version inside the dist file. this should be done before modifying package.json