cart funct update on submit