add quote detail and update main controller