updates to wrap