update wrap for interface to server