add functionality to edit order detail