@Override
public void updateOrderStatus(String orderId, OrderEventType type) {
JacksonDBCollection<Order, String> orders = JacksonDBCollection.wrap(ordersCollection, Order.class, String.class);
Order order = orders.findOneById(orderId);
order.getEventLog().add(new OrderEvent(type, System.currentTimeMillis()));
orders.save(order);
}