added edit and remove cart functionalities