update main to dist file