updating with new wrapper