changed purchase order model