change Ensure api