update:save item to localstorage function,display cart num