add pie in documentManaged