updates dist file