Added model/controller editing quantity functionality