fixed auto update version issue