cart funct table update