Updated createOrder (), updateStatus() and cancelOrder() methods in POrder