edit rows for buy_form