edit buy view