added update_cart method to application controller, used update_cart method in orderitems update action