update installer, and remove some fuctions