add product function;modify create repos function.