[+] added update cart logic