changes in order; implemented edit functionality of an order