assign buyer id in orders table