cart functions return update