Solved bug in Cart Update

Solved bug in Cart update which used to update only the last product in
cart. Also using <nav> in header